package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import java.util.Date;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.omniorder.store.collectconfig.get response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OmniorderStoreCollectconfigGetResponse extends TaobaoResponse {

	private static final long serialVersionUID = 5599697985586823387L;

	/** 
	 * result
	 */
	@ApiField("result")
	private Result result;


	public void setResult(Result result) {
		this.result = result;
	}
	public Result getResult( ) {
		return this.result;
	}
	
	/**
 * data
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class StoreCollectConfig extends TaobaoObject {

	private static final long serialVersionUID = 8657732115247177383L;

	/**
		 * 是否是活动期
		 */
		@ApiField("activity")
		private Boolean activity;
		/**
		 * 当activity为true时返回，活动结束时间
		 */
		@ApiField("activity_end_time")
		private Date activityEndTime;
		/**
		 * 当activity为true时返回,活动开始时间
		 */
		@ApiField("activity_start_time")
		private Date activityStartTime;
		/**
		 * 每日接单阈值
		 */
		@ApiField("collect_threshold")
		private Long collectThreshold;
		/**
		 * 接单时间段，格式为 "09:00-12:00", "" 表示一直开启
		 */
		@ApiField("working_time")
		private String workingTime;
	

	public Boolean getActivity() {
			return this.activity;
		}
		public void setActivity(Boolean activity) {
			this.activity = activity;
		}
		public Date getActivityEndTime() {
			return this.activityEndTime;
		}
		public void setActivityEndTime(Date activityEndTime) {
			this.activityEndTime = activityEndTime;
		}
		public Date getActivityStartTime() {
			return this.activityStartTime;
		}
		public void setActivityStartTime(Date activityStartTime) {
			this.activityStartTime = activityStartTime;
		}
		public Long getCollectThreshold() {
			return this.collectThreshold;
		}
		public void setCollectThreshold(Long collectThreshold) {
			this.collectThreshold = collectThreshold;
		}
		public String getWorkingTime() {
			return this.workingTime;
		}
		public void setWorkingTime(String workingTime) {
			this.workingTime = workingTime;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Result extends TaobaoObject {

	private static final long serialVersionUID = 7129471541652226799L;

	/**
		 * code
		 */
		@ApiField("code")
		private String code;
		/**
		 * data
		 */
		@ApiField("data")
		private StoreCollectConfig data;
		/**
		 * message
		 */
		@ApiField("message")
		private String message;
	

	public String getCode() {
			return this.code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public StoreCollectConfig getData() {
			return this.data;
		}
		public void setData(StoreCollectConfig data) {
			this.data = data;
		}
		public String getMessage() {
			return this.message;
		}
		public void setMessage(String message) {
			this.message = message;
		}

}



}
